package com.ruoyi.module.productCatalog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 页签2.0对象 product_catalog
 * 
 * @author yqq
 * @date 2024-04-15
 */
public class ProductCatalog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long catalogId;

    /** 父级id */
    @Excel(name = "父级id")
    private Long parentId;

    /** 名称 */
    @Excel(name = "名称")
    private String catalogName;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer catalogSequence;

    public void setCatalogId(Long catalogId) 
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId() 
    {
        return catalogId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setCatalogName(String catalogName) 
    {
        this.catalogName = catalogName;
    }

    public String getCatalogName() 
    {
        return catalogName;
    }
    public void setCatalogSequence(Integer catalogSequence) 
    {
        this.catalogSequence = catalogSequence;
    }

    public Integer getCatalogSequence() 
    {
        return catalogSequence;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("catalogId", getCatalogId())
            .append("parentId", getParentId())
            .append("catalogName", getCatalogName())
            .append("catalogSequence", getCatalogSequence())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
